/**********************************************************************
* $Id$		abstract.txt 			
*//**
* @file		abstract.txt 
* @brief	Example description file
* @version	2.0
* @date		
* @author	NXP MCU SW Application Team
*
* Copyright(C) 2010, NXP Semiconductor
* All rights reserved.
*
***********************************************************************
* Software that is described herein is for illustrative purposes only
* which provides customers with programming information regarding the
* products. This software is supplied "AS IS" without any warranties.
* NXP Semiconductors assumes no responsibility or liability for the
* use of the software, conveys no license or title under any patent,
* copyright, or mask work right to the product. NXP Semiconductors
* reserves the right to make changes in the software without
* notification. NXP Semiconductors also make no representation or
* warranty that such application will be suitable for the specified
* use without further testing or modification.
**********************************************************************/
  
@Example description:
Purpose:
	This example describes how to use PWM signal on 6 Channels in single 
        edge mode
Process:
	This program illustrates the PWM signal on 6 Channels in single edge 
        mode Peripheral clock for PWM: PWM_PCLK = CCLK / 4 = 100MHz/4 = 25MHz 
        and there is no	prescale for PWM. The PWM timer/counter clock is at 
        25MHz. The base rate is set to 256 The base PWM frequency is at 
        25MHz/250 = 100 KHz (Period = 10.0 microsecond)
	Each PWM channel (1 to 6) will be configured as following:
		 + PWM1.1 = (10/256) (+width = 0.4 microsecond)(P1.18)
		 + PWM1.2 = (20/256) (period = 0.8 microsecond)(P3.25)
		 + PWM1.3 = (30/256) (period = 1.2 microsecond)(P2.2)
		 + PWM1.4 = (40/256) (period = 1.6 microsecond)(P2.3)
		 + PWM1.5 = (50/256) (period = 2.0 microsecond)(P2.4)
		 + PWM1.6 = (60/256) (period = 2.4 microsecond)(P2.5)
	 Using Oscilloscope to observe the PWM signals

@Directory contents:
\EWARM: includes EWARM (IAR) project and configuration files
\Keil:	includes RVMDK (Keil)project and configuration files 
	
lpc17xx_libcfg.h: Library configuration file - include needed driver library for
this example 
makefile: Example's makefile (to build with GNU toolchain)
pwm_single_edge.c: Main program

@How to run:
Hardware configuration:		
	PWM pin selected:
		Observe PWM wave signal on these pin
                  PWM CHANNEL   GPIO      Lincoln Connector.pin   Hardware
		  PWM1.1        P1.18     J18.7                   User LED1
		  PWM1.2        P3.25     J12.30                  Buzzer
		  PWM1.3        P2.2      J2.21                   Keypad
		  PWM1.4        P2.3      J2.22                   Keypad                   
		  PWM1.5        P2.4      J2.23                   Keypad
		  PWM1.6        P2.5      J2.24                   Keypad
										
	
Running mode:
This example can run on RAM/ROM mode.
				
Step to run:
	- Step 1: Build example.
	- Step 2: Burn hex file into board (if run on ROM mode)
	- Step 3: Configure hardware as above instruction 
	- Step 4: Run example	 
		  Use oscilloscope to monitor the wave form on 
                  PWM CHANNEL   GPIO      Lincoln Connector.pin   Hardware
		  PWM1.1        P1.18     J18.7                   User LED1
		  PWM1.2        P3.25     J12.30                  Buzzer
		  PWM1.3        P2.2      J2.21                   Keypad
		  PWM1.4        P2.3      J2.22                   Keypad                   
		  PWM1.5        P2.4      J2.23                   Keypad
		  PWM1.6        P2.5      J2.24                   Keypad
						
@Tip:
	- Open \EWARM\*.eww project file to run example on IAR
	- Open \RVMDK\*.uvproj project file to run example on Keil
